<div id="content2">
<SCRIPT language=JavaScript><!--
function FrontPage_Form1_Validator(theForm)
{
  var checkOK = "0123456789";
  var checkStr = theForm.money.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("月收入中只能输入数字。");
    return (false);
  }

  var checkOK = "0123456789";
  var checkStr = theForm.KCmoney.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("起征额中只能输入数字。");
    return (false);
  }

var basicm,totalmoney,cha,output;
totalmoney=document.form1.money.value;
basicm=document.form1.KCmoney.value;
cha=(totalmoney-basicm);
if (cha<=0) {output=0;}
if (cha>0&&cha<=500) {output=cha*0.05;}
if (cha>500&&cha<=2000) {output=cha*0.1-25;}
if (cha>2000&&cha<=5000) {output=cha*0.15-125;}
if (cha>5000&&cha<=20000) {output=cha*0.2-375;}
if (cha>20000&&cha<=40000) {output=cha*0.25-1375;}
if (cha>40000&&cha<=60000) {output=cha*0.30-3375;}
if (cha>60000&&cha<=80000) {output=cha*0.35-6375;}
if (cha>80000&&cha<=100000) {output=cha*0.4-10375;}
if (cha>100000&&cha>100000) {output=cha*0.45-15375;}
alert("应缴个人所得税额="+output+"元"+"\n"+"\n"+"每个纳税人都应该坚决捍卫自己应有的权利！");
return (false);
}
//--></SCRIPT>

<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<style type="text/css">
<!--
.upline {
	border-top: 1px solid #FF6633;
}
.downline {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FF6633;
}
-->
</style>
<DIV align=center>

	<FORM name=form1 onSubmit="return FrontPage_Form1_Validator(this)">
	<DIV class="item-intro">
		个人所得税计算器
	</div>

	<div class="item-content" align="left">
		请输入您的月收入：<INPUT size=18 name=money>元
<br />
		当地所得税起征额：<INPUT size=18 name=KCmoney>元</SPAN>（例如800、1600）
		<br />
		<INPUT type=submit value=计算我该缴的税额 name=sub class="input-btn">
		<span style="text-align: right;"><INPUT type=reset value=清空输入内容 class="input-btn"></span>
	</DIV>

	</FORM>

</div>
</div> <!--end of content2-->

<SCRIPT LANGUAGE="JavaScript"> 
	this.onload = new Function(switchTag('tag2','content2'));
</SCRIPT>